<template>
  <div class="box">
    <span class="title">{{this.operation}}: {{this.msg}}!!
    <i class="iconfont icon-icon-test6 icon1"></i>
    </span>
    <div class="button-cf">
      <el-button size="medium" type="primary" @click="handleBack">返回</el-button>
    </div>
  </div>
</template>

<script>
    export default {
        name: "rm-result",
      data(){
          return{
            msg: '',
            operation: ''
          }
      },
      mounted(){
          this.msg=this.$route.params.msg;
          this.operation=this.$route.params.operation;
      },
      methods:{
        handleBack(){
          this.$router.push('/roleManagement/management')
        }
      }
    }
</script>

<style scoped>
  .box {
    width: 60%;
    border: 1px solid #0886ea;
    margin: 0 auto;
    text-align: center;
  }

  .title {
    font-size: 30px;
    line-height: 100px;
    color: #f91d24;
    letter-spacing: 10px;
  }

  .icon1 {
    font-size: 50px;
    position: relative;
    left: -10px;
    bottom: -7px;
  }

  .button-cf {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  >>>.el-table tr{
    text-align: left;
  }
</style>
